home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / printing / fwphplsr.lzh / HPLSRJET.HEX < prev   
Text File  |  1985-11-20  |  7KB  |  187 lines

  1. ****************************************************************
  2. *
  3. *    HP Laser Jet II Printer Driver Configuration Table
  4. *    
  5. *    This file contains tables defining the code sequences
  6. *    to be sent to the printer to perform various functions
  7. *    and to access the characters from codes in the Atari
  8. *    character set.
  9. *
  10. *    NOTE:  The standard internal fonts supplied with the
  11. *           Laser Jet II do not support some type styles
  12. *           most noteably italics and light print.
  13. *
  14. *    Modified by John Krohn (J.KROHN) from a file supplied by G.ANDERSON
  15. ****************************************************************
  16.  
  17. *
  18. * Name of printer
  19. * ===============
  20. *
  21. HP Laser Jet II
  22.  
  23. *
  24. * Miscellaneous configurable variables
  25. * ====================================
  26. *
  27. * 1: printer type, 0=dot matrix, 1=daisy wheel
  28. *    Note if printer type is 0 the following 4 variables are never
  29. *    used.
  30. * 2: unit width of one character
  31. * 3: unit height of one line
  32. * 4: Approximate middle of carriage after formfeed
  33. * 5: Carriage shift for bold overstrike
  34. * 6: 1 to pause between pages
  35. 0, 0, 0, 0, 0, 0
  36.  
  37. *
  38. * Printer characteristics
  39. * =======================
  40. *
  41. * This table specifies the printer command sequences.
  42. * If the top bit of a code is set, then this indicates the
  43. * position of a parameter passed to the printer. The code whose
  44. * top bit is set in this table is added to the parameter passed 
  45. * before being sent to the printer. It is not used in all command 
  46. * sequences, only in those where the printer requires  a variable 
  47. * value such as the length of a vertical tab.
  48. *
  49. * 0            * Character width
  50. 1, A, D        * Linefeed WITH return
  51. * 2            * Forward print
  52. * 3            * Reverse print
  53. * 4            * Vertical tab to line
  54. * 5            * Absolute horizontal tab 
  55. 6, 1B, 28, 73, 33, 42              * Draft bold on
  56. 7, 1B, 28, 73, 30, 42              * Draft bold off
  57. * 8            * NLQ bold on 
  58. * 9            * NLQ bold off
  59. A, 1B, 28, 73, 31, 53              * Draft italic on(if available)
  60. B, 1B, 28, 73, 30, 53              * Draft italic off
  61. * C            * NLQ italic on
  62. * D            * NLQ italic off
  63. E, 1B, 28, 73, 2D, 33, 42          * Draft light on(if available)
  64. F, 1B, 28, 73, 30, 42              * Draft light off
  65. * 10           * NLQ light on
  66. * 11           * NLQ light off
  67. 12, 1B, 26, 61, 2D, 36, 30, 56 * Draft superscript on
  68. 13, 1B, 26, 61, 2B, 36, 30, 56 * Draft superscript off
  69. * 14           * NLQ superscript on
  70. * 15           * NLQ superscript off
  71. 16, 1B, 26, 61, 2B, 34, 35, 56 * Draft subscript on
  72. 17, 1B, 26, 61, 2D, 34, 35, 56 * Draft subscript off
  73. * 18           * NLQ subscript on
  74. * 19           * NLQ subscript off
  75. 1A, 1B, 26, 64, 33, 44 * Draft underline on
  76. 1B, 1B, 26, 64, 40     * Draft underline off
  77. * 1C           * NLQ underline on
  78. * 1D           * NLQ underline off
  79. 1E, 0C                         * Formfeed
  80. * 1F           * Horizontal initialization
  81. 20, 1B, 45     * Vertical initialization (send reset prior to job)
  82. 21, 1B, 45     * Termination: printer reset
  83. 0              * NULL termination byte
  84.  
  85. *
  86. * Translation Table
  87. * =================
  88. *
  89. * This table provides translation from single Atari input bytes
  90. * into multiple H-P printer codes, and is useful for printing 
  91. * extraneous characters such as accented characters etc. All 
  92. * characters are subjected to translation, but if there is no 
  93. * entry in the table for a particular code, then the original 
  94. * code is sent to the printer.
  95. *
  96. * The entries must be arranged in ascending order of Atari input
  97. * code. The table is NULL terminated.
  98.  
  99. 0                        * NULL: print a space 
  100. 1, 18                    * Up arrow
  101. 2, 19                    * Down arrow
  102. 3, 1A                    * Right arrow
  103. 4, 1B, 26, 70, 31, 58, 1B * Left arrow
  104. 5                        * No close box
  105. 6                        * No size box
  106. 7                        * No full box
  107. 8, FB                    * Tick mark
  108. 9, 1B, 26, 70, 31, 58, 09 * Clock                     
  109. A                        * No bell
  110. B, 1B, 26, 70, 31, 58, 0D * Musical note
  111. E                        * No LH Atari symbol     
  112. F                        * No RH Atari symbol
  113. 10, 30                   * LCD 0
  114. 11, 31                   * LCD 1
  115. 12, 32                   * LCD 2    
  116. 13, 33                   * LCD 3
  117. 14, 34                   * LCD 4
  118. 15, 35                   * LCD 5
  119. 16, 36                   * LCD 6
  120. 17, 37                   * LCD 7     
  121. 18, 38                   * LCD 8
  122. 19, 39                   * LCD 9
  123. 7F, 1E                   * Delta symbol- use solid triangle
  124. 9E, 1B, 28, 38, 55, DE, 1B, 28, 31, 30, 55 * Esszet from Roman8 font
  125. B0, 1B, 28, 38, 55, E2, 1B, 28, 31, 30, 55 * Lower case a tilde from Roman8 font
  126. B1, 1B, 28, 38, 55, EA, 1B, 28, 31, 30, 55 * Lower case o tilde from Roman8 font  
  127. B2, 1B, 28, 38, 55, D2, 1B, 28, 31, 30, 55 * Capital crossed O from Roman8 font
  128. B3, 1B, 28, 38, 55, D6, 1B, 28, 31, 30, 55 * Lower case crossed o from Roman8 font
  129. B4                       * No lower case oe dipthong
  130. B5                       * No capital OE dipthong
  131. B6, 1B, 28, 38, 55, A1, 1B, 28, 31, 30, 55 * Capital A grave from Roman8 font
  132. B7, 1B, 28, 38, 55, E1, 1B, 28, 31, 30, 55 * Capital A tilde from Roman8 font
  133. B8, 1B, 28, 38, 55, E9, 1B, 28, 31, 30, 55 * Capital O tilde from Roman8 font
  134. B9, 1B, 28, 38, 55, AB, 1B, 28, 31, 30, 55 * Umlaut from Roman8 font
  135. BA, 1B, 28, 38, 55, A8, 1B, 28, 31, 30, 55 * Acute from Roman8 font
  136. * BB, 1B, 28, 31, 55, 7D, 1B, 28, 31, 30, 55 * Dagger from Legal font(if available)
  137. BB
  138. BC, 14                   * Paragraph symbol 
  139. * BD, 1B, 28, 31, 55, 5E, 1B, 28, 31, 30, 55 * Copyright symbol from Legal font(if available)
  140. BD
  141. * BE, 1B, 28, 31, 55, 5C, 1B, 28, 31, 30, 55 * Registered symbol from Legal font(if available)
  142. BE
  143. * BF, 1B, 28, 31, 55, 7E, 1B, 28, 31, 30, 55 * Trademark symbol from Legal font(if available)
  144. BF
  145. C0                       * No ij ligature 
  146. C1                       * NO capital IJ ligature
  147. C2                       * No Hebrew
  148. C3
  149. C4
  150. C5
  151. C6
  152. C7
  153. C8
  154. C9
  155. CA
  156. CB
  157. CC
  158. CD
  159. CE
  160. CF
  161. D0
  162. D1
  163. D2
  164. D3
  165. D4
  166. D5
  167. D6
  168. D7
  169. D8
  170. D9
  171. DA
  172. DB
  173. DC
  174. DD, 15                   * Section mark 
  175. DE, 1B, 26, 61, 2B, 34, 35, 56, 5E, 1B, 26, 61, 2D, 34, 35, 56 * Dropped circumflex
  176.                                                                * via subscript
  177. DF, EC                   * Infinity
  178. EC                       * 
  179. FB, FB, 1B, 28, 38, 55, B0, 08, 1B, 28, 31, 30, 55 * Square root sign: 
  180.                                                    * Check mark + Macron 
  181.                                                    * + Backspace
  182. * FC                                         * Superior n gives greek eta
  183. FE, 1B, 28, 30, 4E, B3, 1B, 28, 31, 30, 55   * Superior 3 from Latin font
  184. FF, 1B, 28, 38, 55, B0, 1B, 28, 31, 30, 55   * Macron     
  185. 0
  186.